/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/entry/Index'

const manageDemoRouter = {
    path: '/demo',
    component: Layout,
    redirect: 'noRedirect',
    name: 'pagedemo',
    hidden: false,
    meta: {
        title: '布局【admin】',
        icon: 'el-icon-coin'
    },
    children: [
        {
            path: 'ontable',
            component: () => import('@/views/pageDemo/OnlyTable/OnlyTable'),
            name: 'OnlyTable',
            meta: {
                title: '单个表格demo'
            }
        },
        {
            path: 'doubletable',
            component: () => import('@/views/pageDemo/DoubleTable/DoubleTable'),
            name: 'DoubleTable',
            meta: {
                title: '多个表格demo'
            }
        },
        {
            path: 'treeAndTable',
            component: () => import('@/views/pageDemo/TreeAndTable/TreeAndTable'),
            name: 'TreeAndTable',
            meta: {
                title: '树和表格搭配'
            }
        }
    ]
}


export default manageDemoRouter